-- GENERATED SPELL FOR [Gryphoneer Leafbeard] --


function spell0_20236(pUnit, Event) --@Taxi - Hellfire Peninsula - Beach Head to Shatter Point,n/a--
pUnit:FullCastSpellOnTarget(35066,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20236', 602, 1)
end

function Sorts_20236(pUnit, Event)
local choix_sorts_20236 = math.random(0, 0)
if choix_sorts_20236 == 0 then
pUnit:RegisterEvent('spell0_20236', 1, 1)
end
end

function mob20236_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20236', math.random(1500, 3000), 1)
end

function mob20236_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20236_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20236_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20236, 1, 'mob20236_Action')
RegisterUnitEvent(20236, 2, 'mob20236_Leave')
RegisterUnitEvent(20236, 3, 'mob20236_Kill')
RegisterUnitEvent(20236, 4, 'mob20236_Die')
